package com.example.message.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author lengleng
 * @since 2019/2/1
 */
@Data
@TableName("person_info")
public class PersonInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "user_id", type = IdType.INPUT)
	private Integer userId;

	/**
	 * 头像照片
	 */
	private String userPic;

	/**
	 * 电话
	 */
	private String phone;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * qq
	 */
	private String qq;

	/**
	 * 住址
	 */
	private String liveAddress;

	/**
	 * 兴趣
	 */
	private String hobby;

	/**
	 * 生日
	 */
	private String birthday;
}
